package com.iwomy.envpro.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.iwomy.envpro.common.core.sensitive.Sensitive;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 基础信息-语音配置
 *
 * @author pig
 * @date 2023-11-22 18:05:05
 */
@Data
@TableName("basic_telephone_config")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "基础信息-语音配置")
public class BasicTelephoneConfigEntity extends Model<BasicTelephoneConfigEntity> {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="ID")
    private Long id;

	/**
	* AccessKey ID
	*/
    @Schema(description="AccessKey ID")
	@Sensitive(prefixNoMaskLen = 4, suffixNoMaskLen = 4)
    private String accessKeyId;

	/**
	* Access Key Secret
	*/
    @Schema(description="Access Key Secret")
	@Sensitive(prefixNoMaskLen = 4, suffixNoMaskLen = 4)
    private String accessKeySecret;


	/**
	* 模版code
	*/
    @Schema(description="模版code")
    private String templateCode;


	/**
	* SDKAPPID
	*/
    @Schema(description="SDKAPPID")
    private String sdkAppId;

	/**
	* 排序编号
	*/
    @Schema(description="排序编号")
    private Integer sortNumber;



	/**
	* 厂商标识 阿里alibaba，腾讯tencent
	*/
    @Schema(description="厂商标识 阿里alibaba，腾讯tencent")
    private String supplier;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;

	/**
	* delFlag
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="delFlag")
    private String delFlag;

	/**
	* 租户ID
	*/
    @Schema(description="租户ID")
    private Long tenantId;
    /**
	* 间隔时间
	*/
    @Schema(description="间隔时间")
    private Integer intervalTime;

	/**
	 * 状态 10禁用 20 启用
	 */
	@Schema(description = "状态 10禁用 20 启用")
	private Integer status;

}